package cn.zebra.dev.other.module.shopAfter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("shop_after")
@Getter
@Setter
public class ShopAfterEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("客户售后反馈信息")
    private String info;

    @ApiModelProperty("售后处理状态（0 同意处理，1 拒绝处理，2 待处理）")
    private Long state;

    @ApiModelProperty("类型（0 退货，1 退款，2 换货，3其他）")
    private Long type;

    @ApiModelProperty("订单明细id")
    private Long orderItemId;

    @ApiModelProperty("商家解决方案")
    private String solution;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
